package com.sy.dto;

import com.sy.entity.CarDistribution;
import com.sy.entity.DriClass;

import java.util.List;

public class DriClassDto {
    private DriClass driClass;
    private List<CarDistribution> carDistributionList;

    public DriClassDto() {
    }

    public DriClassDto(DriClass driClass, List<CarDistribution> carDistributionList) {
        this.driClass = driClass;
        this.carDistributionList = carDistributionList;
    }

    public DriClass getDriClass() {
        return driClass;
    }

    public void setDriClass(DriClass driClass) {
        this.driClass = driClass;
    }

    public List<CarDistribution> getCarDistributionList() {
        return carDistributionList;
    }

    public void setCarDistributionList(List<CarDistribution> carDistributionList) {
        this.carDistributionList = carDistributionList;
    }

    @Override
    public String toString() {
        return "DriClassDto{" +
                "driClass=" + driClass +
                ", carDistributionList=" + carDistributionList +
                '}';
    }
}
